package org.lboot.flow.constant;

/**
 * @author kindear
 * 流程节点常量定义
 */
public class FlowNodeTypeConst {
    /**
     * 开始节点
     */
    public static final String START_NODE = "START";
    /**
     * 结束节点
     */
    public static final String END_NODE = "END";
    /**
     * 任务节点 -- 审批
     */
    public static final String TASK_NODE = "TASK";
    /**
     * 决策节点
     */
    public static final String DECISION_TASK_NODE = "DECISION_TASK";

    public static final String AUTO_DECISION_TASK_NODE = "AUTO_DECISION_TASK";
    /**
     * 子流程节点
     */
    public static final String SUB_FLOW_NODE = "SUB_FLOW";

    /**
     * 命令执行节点
     */
    public static final String COMMAND_NODE = "COMMAND";
    /**
     * 微服务子流程节点
     */
    public static final String MICRO_SUB_FLOW_NODE = "MICRO_SUB_FLOW";
    /**
     * 网关节点
     */
    @Deprecated
    public static final String GATEWAY_NODE = "GATEWAY";

    /**
     * 并行网关节点
     */
    public static final String PARALLEL_GATEWAY_NODE = "PARALLEL_GATEWAY";

    /**
     * 排他网关节点
     */
    public static final String EXCLUSIVE_GATEWAY_NODE = "EXCLUSIVE_GATEWAY";

    public static final String CONDITION_NODE = "CONDITION";
    /**
     * 触发器节点
     */
    public static final String TRIGGER_NODE = "TRIGGER";

    /**
     * 事件节点
     */
    public static final String EVENT_NODE = "EVENT";
}
